package com.mallcai.bigdata.ladon.service.export.impl;

import org.springframework.core.PriorityOrdered;
import org.springframework.core.annotation.OrderUtils;

/**
 * @author CaKeDou
 * @version 1.0
 * @date 2019-09-25 17:44
 */
public interface IExportHandler extends PriorityOrdered {

    /**
     * 获取当前Handler的排序号
     *
     * @return 排序号
     */
    @Override
    default int getOrder() {
        return OrderUtils.getOrder(this.getClass());
    }
}
